ACTIONS= ../../.objs/release/actions.o
TPTYPE= ../../.objs/release/tptype.o
INDGRAPH= ../../.objs/release/InDGraph.o
LIB=../../lib/release/libactions.a
DEP=../../include/util.h ../../include/defs.h/ ../../include/actions.h
TDEP=../../include/util.h ../../include/defs.h ../../include/TPType.h
GDEP=../../include/util.h ../../include/InDGraph.h ../../include/defs.h
MODE ?=release
FLAG= 


$(LIB): $(ACTIONS) $(TPTYPE) $(INDGRAPH)
	ar rcs $(LIB) $(ACTIONS) $(TPTYPE) $(INDGRAPH)

$(ACTIONS): actions.cpp $(DEP)
	g++ -c $(FLAG) -o $(ACTIONS) $< -I ../../include/ -I ../grmr/

$(TPTYPE) : TPType.cpp $(TDEP)
	g++ -c $(FLAG) -o $(TPTYPE) $< -I ../../include/ -I ../grmr/

$(INDGRAPH) : InDGraph.cpp $(GDEP)
	g++ -c $(FLAG) -o $(INDGRAPH) $< -I ../../include/ -I ../grmr/
clean :
	rm -f $(ACTIONS) $(TPTYPE) $(INDGRAPH) $(LIB)
